from django import forms
from poem.models import PoetModel, PoemModel


class PoetForm(forms.ModelForm):
    class Meta:
        model = PoetModel
        fields = ['sex', 'name']

class PoemForm(forms.ModelForm):
    class Meta:
        model = PoemModel
        fields = "__all__"